package com.tx.admin.controller.rbac;

import java.util.Map;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tx.admin.annotation.Rbac;
import com.tx.admin.controller.SuperController;
import com.tx.admin.entity.rbac.UserEntity;

import io.swagger.annotations.Api;


@RestController
@RequestMapping("/user")
@Api(tags = "用户")
@Rbac(value="用户",dataFunciton=true)

 class UserController extends SuperController<UserEntity>{


	@PostMapping("/map")
	public Object map(@RequestBody Map map) {
		return map;
	}

	
}
